<template>
  <div class="container"></div>
</template>

<script setup>
import { goodOrderInfo } from "@/http/api";
import { ref, onMounted } from "vue";
import { useRoute } from "vue-router";
const route = useRoute();
const baseUrl = import.meta.env.VITE_API_URL;
const orderInfo = ref({});

onMounted(() => {
  getInfo();
});

const getInfo = async () => {
  const { data } = await goodOrderInfo({
    id: route.query.id,
  });
  orderInfo.value = data.good_order;
};
</script>

<style lang="scss" scoped></style>
